﻿using System.Collections.Generic;
using System.Linq;
using Core.BO;
using Core.Contract.DataContract;
using Data.DAO;
using www.Models;

namespace Data.BO
{
    public class RageComic_MemeBO//:BaseBO<MemberDAO,RelaxMember>
    {
        #region value
        private readonly RageComic_MemeDAO _memberDao = new RageComic_MemeDAO();
        #endregion

        #region Ham Lay du lieu

        public IQueryable<RelaxRagcomicMemeDataContract> GetRagcomicMemeDataContracts()
        {
            return _memberDao.GetRelaxRagcomicMemeDataContracts();
        }
        
        #endregion

        #region ham Add
        public void Add(MEME_RAGCOMIC memeRagcomic)
        {
            _memberDao.Add(memeRagcomic);
        }
      
        #endregion

        #region Ham Update

        public void Update(MEME_RAGCOMIC memeRagcomic)
        {
            _memberDao.Update(memeRagcomic);
        }
        #endregion

        #region Ham Delete

        public void Delete(long iId)
        {
            _memberDao.Delete(iId);
        }
        #endregion
    }
}
